package com.dks.models;

import com.fasterxml.jackson.annotation.JsonFormat;

import java.io.Serializable;
import java.time.LocalDateTime;

public class Diary implements Serializable{

    private static final long serialVersionUID =  1L;

    public Diary (){
    }

    /**  */
    private Long id;
    /** 教师id */
    private Long teacherId;
    /** 点赞数 */
    private Integer fabulousCount;
    /** 评论数 */
    private Integer commentCount;
    /** 浏览量 */
    private Integer browseCount;
    /** 内容 */
    private String diaryCommend;
    /** 视频 */
    private String videoUrl;
    /** 主图 */
    private String diaryPhotoUrl;
    /** 创建人 */
    private Long createUserId;
    /** 创建时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtCreateTime;
    /** 修改人 */
    private Long modifyUserId;
    /** 修改时间 */
     @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private LocalDateTime gmtModifyTime;
    /** 有效状态 0可用 1不可用 */
    private Integer recStatus;


    public String getVideoUrl() {
        return videoUrl;
    }

    public void setVideoUrl(String videoUrl) {
        this.videoUrl = videoUrl;
    }

    public final Long getId() {
        return this.id;
	}

	public final void setId(final Long id) {
        this.id = id;
	}

	public final Long getTeacherId() {
        return this.teacherId;
	}

	public final void setTeacherId(final Long teacherId) {
        this.teacherId = teacherId;
	}

	public final Integer getFabulousCount() {
        return this.fabulousCount;
	}

	public final void setFabulousCount(final Integer fabulousCount) {
        this.fabulousCount = fabulousCount;
	}

	public final Integer getCommentCount() {
        return this.commentCount;
	}

	public final void setCommentCount(final Integer commentCount) {
        this.commentCount = commentCount;
	}

	public final Integer getBrowseCount() {
        return this.browseCount;
	}

	public final void setBrowseCount(final Integer browseCount) {
        this.browseCount = browseCount;
	}

	public final String getDiaryCommend() {
        return this.diaryCommend;
	}

	public final void setDiaryCommend(final String diaryCommend) {
        this.diaryCommend = diaryCommend;
	}

	public final String getDiaryPhotoUrl() {
        return this.diaryPhotoUrl;
	}

	public final void setDiaryPhotoUrl(final String diaryPhotoUrl) {
        this.diaryPhotoUrl = diaryPhotoUrl;
	}

	public final Long getCreateUserId() {
        return this.createUserId;
	}

	public final void setCreateUserId(final Long createUserId) {
        this.createUserId = createUserId;
	}

    public LocalDateTime getGmtCreateTime() {
        return gmtCreateTime;
    }

    public void setGmtCreateTime(LocalDateTime gmtCreateTime) {
        this.gmtCreateTime = gmtCreateTime;
    }

    public LocalDateTime getGmtModifyTime() {
        return gmtModifyTime;
    }

    public void setGmtModifyTime(LocalDateTime gmtModifyTime) {
        this.gmtModifyTime = gmtModifyTime;
    }

    public final Long getModifyUserId() {
        return this.modifyUserId;
	}

	public final void setModifyUserId(final Long modifyUserId) {
        this.modifyUserId = modifyUserId;
	}


	public final Integer getRecStatus() {
        return this.recStatus;
	}

	public final void setRecStatus(final Integer recStatus) {
        this.recStatus = recStatus;
	}

}
